package com.wlyuan.open.scanner.domain.transport;

import com.wlyuan.open.scanner.utils.enums.bill.TransportBillStatusEnum;
import com.wlyuan.open.scanner.utils.enums.transport.TransportStatusEnum;
import com.wlyuan.open.scanner.utils.enums.transport.WaybillTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author lijing
 * @description
 */
@Data
public class TransportCustomer implements Serializable {

    private static final long serialVersionUID = 4804386050634823927L;
    @ApiModelProperty("运单状态 10 待调度,11 准备调度,20 已委托,21 待接收,30 待签收,31 签收同步中,40 待回单,50 已回单,60 已关闭,-1 被拆单 -2:已删除")
    private TransportStatusEnum status;
    @ApiModelProperty("客户id")
    private Long customerId;
    @ApiModelProperty("客户名字")
    private String customerName;
    @ApiModelProperty("客户类型")
    private Integer customerType;
    @ApiModelProperty("租户id")
    private Long tenantId;
    @ApiModelProperty("运单类型")
    private WaybillTypeEnum waybillType;

    @ApiModelProperty("回单标记 0 无 1 丢单")
    private Long receiptLabel;
    @ApiModelProperty("是否拆单 0否，1是")
    private Integer divided;
    @ApiModelProperty("拆单类型 1：线路拆单，2：数量拆单")
    private Integer divideMode;
    @ApiModelProperty("是否合单 0否，1是")
    private Integer combined;

    @ApiModelProperty("bill-财务对账单状态")
    private TransportBillStatusEnum financeStatus;

    @ApiModelProperty("签收信息")
    private TransportSign sign;
    @ApiModelProperty("回单信息")
    private TransportReceipt receipt;
    @ApiModelProperty("评分")
    private TransportScore score;
    @ApiModelProperty("附件信息")
    private List<TransportAttach> attachments;
}
